package cz.fimuni.pa165.backendapi.dto;

/**
 *
 * @author Ondřej Myška
 */
public class CarDTO {

    private Long id;
    private String spz;
    private String type;
    private int numberOfSeats;
    private boolean available;
    private CompanyDTO company;
    private String colour;

    public boolean getAvailable() {
        return available;
    }

    public int getNumberOfSeats() {
        return numberOfSeats;
    }

    public String getSpz() {
        return spz;
    }

    public String getType() {
        return type;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public void setNumberOfSeats(int numberOfSeats) {
        this.numberOfSeats = numberOfSeats;
    }

    public void setSpz(String spz) {
        this.spz = spz;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public CompanyDTO getCompany() {
        return company;
    }

    public void setCompany(CompanyDTO company) {
        this.company = company;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getColour() {
        return colour;
    }
}
